package cn.sanch.user.service;

import cn.sanch.user.dto.UserDto;
import cn.sanch.user.domain.User;
import cn.sanch.basic.service.IBaseService;
import cn.sanch.user.dto.UserEmailDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Sanch
 * @since 2022-06-01
 */
public interface IUserService extends IBaseService<User> {

    /**
     * 手机号注册
     * @param userDto
     */
    void phoneRegister(UserDto userDto);

    /**
     * 邮箱注册
     * @param userEmailDto
     */
    void emailRegister(UserEmailDto userEmailDto);
}
